﻿@model TestUp.Models.UserModels.PassingResultsModel

@{
    ViewBag.Title = "PassingResults";
    Layout = "~/Views/User/_UserNavigationLayout.cshtml";
}

<h2>Results</h2>

@(Html.Kendo().Grid(Model.PassingResults)
.Name("passingResults")
.Columns(cols =>
    {
        cols.Bound(x => x.Test.TestName);
        cols.Bound(x => x.Result);
        cols.Bound(x => x.PassingDate);
    })
    .DataSource(dataSource=>dataSource
    .Server()
    )
)